import { IsOptional,IsString } from "class-validator";
import { FindOperator } from 'typeorm'
export class QueryUserDto {
    @IsString()
    @IsOptional()
    dept_id?:FindOperator<string>

    @IsString()
    @IsOptional()
    username?:FindOperator<string>

    @IsString()
    @IsOptional()
    nickname?:FindOperator<string>

    @IsString()
    @IsOptional()
    mobile?:FindOperator<string>

    @IsString()
    @IsOptional()
    status?:FindOperator<string>

    @IsString()
    @IsOptional()
    begin_time?:FindOperator<string>

    @IsString()
    @IsOptional()
    end_time?:FindOperator<string>

    pageSize:number

    pageNum:number
}